import request from '@/utils/request'

// 查询设备日志列表
export function listDeviceLog(query) {
  return request({
    url: '/data/device-log/list',
    method: 'get',
    params: query
  })
}

// 查询设备日志详细
export function getDeviceLog(logId) {
  return request({
    url: '/data/device-log/' + logId,
    method: 'get'
  })
}

// 清空设备日志
export function cleanDeviceLog() {
  return request({
    url: '/data/device-log/clean',
    method: 'delete'
  })
}








